package com.chenglu.android.redpacket.bean;

import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023/10/10 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：红包列表
 */
public class PacketBean {


    private Integer code;
    private Boolean success;
    private Data data;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class Data {
        private List<Records> records;
        private Integer total;
        private Integer size;
        private Integer current;
        private List<?> orders;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private String countId;
        private Integer maxLimit;
        private Boolean searchCount;
        private Integer pages;

        public List<Records> getRecords() {
            return records;
        }

        public void setRecords(List<Records> records) {
            this.records = records;
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public Boolean getOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean getHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public String getCountId() {
            return countId;
        }

        public void setCountId(String countId) {
            this.countId = countId;
        }

        public Integer getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Integer maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean getSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public static class Records {
            private String id;
            private String title;
            private String redBagMoney;
            private Integer redBagNum;
            private String rebBagBalance;
            private Integer remainNum;
            private Integer status;
            private String userId;
            private String createTime;
            private String updateTime;
            private String expirTime;
            private String nickName;
            private String avatar;
            private Integer redType;
            private Integer version;
            private Integer isReceive;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getRedBagMoney() {
                return redBagMoney;
            }

            public void setRedBagMoney(String redBagMoney) {
                this.redBagMoney = redBagMoney;
            }

            public Integer getRedBagNum() {
                return redBagNum;
            }

            public void setRedBagNum(Integer redBagNum) {
                this.redBagNum = redBagNum;
            }

            public String getRebBagBalance() {
                return rebBagBalance;
            }

            public void setRebBagBalance(String rebBagBalance) {
                this.rebBagBalance = rebBagBalance;
            }

            public Integer getRemainNum() {
                return remainNum;
            }

            public void setRemainNum(Integer remainNum) {
                this.remainNum = remainNum;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getExpirTime() {
                return expirTime;
            }

            public void setExpirTime(String expirTime) {
                this.expirTime = expirTime;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public Integer getRedType() {
                return redType;
            }

            public void setRedType(Integer redType) {
                this.redType = redType;
            }

            public Integer getVersion() {
                return version;
            }

            public void setVersion(Integer version) {
                this.version = version;
            }

            public Integer getIsReceive() {
                return isReceive;
            }

            public void setIsReceive(Integer isReceive) {
                this.isReceive = isReceive;
            }
        }
    }
}
